package com.samphanie.mbg.model.ums;

import com.baomidou.mybatisplus.annotation.TableName;
import com.samphanie.mbg.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;


/**
 * 会员登录日志对象 ums_member_login_log
 *
 * @author zsy
 * @date 2021-10-20
 */
@Data
@With
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("ums_member_login_log")
@EqualsAndHashCode(callSuper = true)
public class UmsMemberLoginLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户标识")
    private String username;

    @ApiModelProperty(value = "ip")
    private String loginIp;

    @ApiModelProperty(value = "city")
    private String loginCity;

    @ApiModelProperty(value = "登录类型[1-web，2-app]")
    private Integer loginType;

}
